package com.itheima.day04;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Demo3 {
    public static void main(String[] args) throws ParseException {
        String stime="2021年08月06日 11:11:11";
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
        Date date = sdf.parse(stime);
//        System.out.println(date);
        long time = date.getTime();
        time+=(2*24*60*60+14*60*60+49*60+6)*1000;


        String s = sdf.format(time);
        System.out.println("s = " + s);
    }
}
